package com.chen.service;

import com.chen.pojo.Absence;
import com.chen.pojo.MyAbsenceRecord;
import com.chen.pojo.Student;
import com.chen.pojo.User;

import java.util.List;

public interface StudentService {
    //查询
    List<Student> getStudentList(Student student);
    //删除
    void deleteStudent(Integer id);
    //根据id查学生
    Student getStudentById(Integer id);
    //修改
    void updateStudent(Student student);
    //更具学号查学生
    Student getStudentBySno(String sno);
    //修改学生宿舍
    void updateDormByStudentId(Student student);
    //根据学生id查询该生缺勤记录
    List<MyAbsenceRecord> getMyAbsenceRecord(Absence absence);
    //修改密码
    void updatePassword(User user);
}
